﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
  <meta name="verify-v1" content="6i/N6+rlQ/L2Ro4akvocmVo22ayXRZ2WbpdVkxtzuwM=" />
  <meta name="y_key" content="107d857063b8f9ec" />
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta http-equiv="Content-Style-Type" content="text/css; charset=UTF-8" />
  <meta http-equiv="keywords" content="" />
  <meta http-equiv="description" content="" />
  <title><bean:message key="cstp100.000"/></title>
  <%@ include file="../common/common_css.jsp" %>
  <%@ include file="../common/common_js.jsp" %>
  <script language="JavaScript">
  <!--
    // 初期表示
    function func_load(){
       func_disabled_auto_complete(); // オートコンプリートを無効化する
       var f = document.forms[0];
       f.newPassword.value = "";
       f.reenterNewPassword.value = "";
    }

    // 確認画面へボタン
    function func_check(){
      var f = document.forms[0];
      var reg = f.regionvar.value;
      if(reg == ""){
        if(f.region.value != ""){
          f.regionvar.value = document.getElementById('region').options[f.region.value].text;
        }
      }
      f.action = "${f:url('/csas/csas101/check/')}";
      f.submit();
    }

    // ListChange
    function funcChangeList(){
      var f = document.forms[0];
      var index = document.getElementById('region').selectedIndex;
      f.regionvar.value = document.getElementById('region').options[index].text;
    }
  //-->
  </script>
</head>

<body onload="func_load();">
  <div id="screenMode">

    <div id="container">
      <a name="top" id="top"></a>

      <!-- header -->
      <%@ include file="../common/topHeader.jsp" %>

      <div id="maincontents" class="clear">

        <div id="colLeftFull">
          <h1><bean:message key="csas101.001" /></h1>
        </div><!-- colLeftFull -->

<s:form action="/csas/csas101" >
<div>
<html:hidden property="regionvar" />
</div>

        <div id="colRight" style="width:910px;">

          <div id="inputAreaTitle" class="newIdEntry"><bean:message key="csas101.002" /></div>
          <div id="inputArea" class="required">
            <html:text property="emailAddress" maxlength="256" />&nbsp;*
          </div>
          <div id="inputAreaTitle" class="newIdEntry"></div>
          <div id="inputArea">
            <bean:message key="csas101.020" />
          </div>
          <div id="inputAreaTitle" class="newIdEntry"><bean:message key="csas101.003" /></div>
          <div id="inputArea" class="required">
            <html:password property="newPassword" style="width:149px;" maxlength="12"  />&nbsp;*
          </div>
          <div id="inputAreaTitle" class="newIdEntry"></div>
          <div id="inputArea">
            <bean:message key="csas101.021" />
          </div>
          <div id="inputAreaTitle" class="newIdEntry"><bean:message key="csas101.004" /></div>
          <div id="inputArea" class="required">
            <html:password property="reenterNewPassword" style="width:149px;" maxlength="12" />&nbsp;*
          </div>
          <div id="inputAreaTitle" class="newIdEntry"><bean:message key="csas101.005" /></div>
          <div id="inputArea" class="required">
            <html:text property="firstName" maxlength="30" />&nbsp;*
          </div>
          <div id="inputAreaTitle" class="newIdEntry"><bean:message key="csas101.006" /></div>
          <div id="inputArea" class="required">
            <html:text property="lastName" maxlength="30" />&nbsp;*
          </div>
          <div id="inputAreaTitle" class="newIdEntry"><bean:message key="csas101.007" /></div>
          <div id="inputArea" class="required">
            <html:text property="company" maxlength="100" />&nbsp;*
          </div>
          <div id="inputAreaTitle" class="newIdEntry"><bean:message key="csas101.008" /></div>
          <div id="inputArea" class="required">
            <html:text property="department" maxlength="100" />&nbsp;*
          </div>
          <div id="inputAreaTitle" class="newIdEntry"><bean:message key="csas101.009" /></div>
          <div id="inputArea" class="required">
            <html:text property="phone" maxlength="20" />&nbsp;*
          </div>
          <div id="inputAreaTitle" class="newIdEntry"><bean:message key="csas101.010" /></div>
          <div id="inputArea" class="required">
            <html:select property="region" styleId="region" style="width:151px;" onchange="funcChangeList()">
            <html:optionsCollection name="regionList" value="key" label="value"/>
            </html:select>&nbsp;*
          </div>
          <div id="inputAreaTitle" class="newIdEntry"><bean:message key="csas101.018" /></div>
          <div id="inputArea" class="required">
            <html:text property="country" maxlength="100" />&nbsp;*
          </div>
          <div id="inputAreaTitle" class="newIdEntry"><bean:message key="csas101.019" /></div>
          <div id="inputArea" class="required">
            <html:text property="city" maxlength="100" />&nbsp;*
          </div>
          <div id="inputAreaTitle" class="newIdEntry"><bean:message key="csas101.011" /></div>
          <div id="inputArea" class="required">
            <html:checkbox property="corporation" styleClass="vertical_middle" value="yes" />&nbsp;*
          </div>
          <div id="inputAreaTitle2"   class="newIdEntry2">
          <%@ include file="../common/historyBackButton.jsp" %>
          </div>
          <div id="inputArea2" class="required">   
          <html:button property="button" onclick="func_check()"><bean:message key="csas101.017" /></html:button>
          </div>
          <div id="inputAreaTitle" class="newIdEntry"></div>
          <div id="inputArea" class="required"><bean:message key="csas101.015" /><font color="#000000"><bean:message key="csas101.016" /></font></div>
        </div><!-- colRight -->

        <div id="colRight" style="width:910px;">
          <logic:messagesPresent>
            <div>
              <b><font color="red" ><bean:message key="found_error" /></font></b>
              <html:errors />
            </div>
          </logic:messagesPresent>
        </div><!-- colRight -->
</s:form>

      </div><!-- maincontents -->

      <!-- footer -->
      <%@ include file="../common/footer.jsp" %>

    </div><!-- container -->

  </div><!-- screenMode -->

</body>

</html>